package com.neuedu.his.controller;


import com.neuedu.his.po.Registlevel;
import com.neuedu.his.service.RegistlevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;


@RestController
@RequestMapping("/registLevel")
public class RegistlevelController {

    @Autowired
    RegistlevelService service;

    @RequestMapping("/list")
    public List<Registlevel> list(){
        return service.list();
    }
}

